﻿namespace PC1
{
    /// <summary>
    /// 1 V N C Z OPC Rd Rn Rm
    /// </summary>
    public enum CommandMc
    {
        HLT = 1000000000,

        ADD_R0_R1 = 1000001001,
        SUB_R0_R1 = 1000002001,

        AND_R0_R1 = 1000003001,
        ORR_R0_R1 = 1000004001,
        EOR_R0_R1 = 1000005001,

        LSL = 1000006000,
        LSR = 1000007000,

        CMP_R0_R1 = 1000008001,

        BEQ = 1000009000,
        BNQ = 1000109000,
        BLS = 1101109000,
        BLQ = 1110109000,
        BGT = 1110009000,
        BGQ = 1101009000,

        LDR_R0 = 1000010000,
        LDR_R1 = 1000010100,
        LDR_RF = 1000010900,

        STR_R0 = 1000011000,
        STR_R1 = 1000011100,
        STR_RF = 1000011900,

        MOV_R0 = 1000012000,
        MOV_R1 = 1000012100,
        MOV_RF = 1000012900,

        MOV_R0_R1 = 1000013010,
        MOV_R0_RF = 1000013090,
        MOV_R1_R0 = 1000013100,
        MOV_R1_RF = 1000013190,
        MOV_RF_R0 = 1000013900,
        MOV_RF_R1 = 1000013910
    }
}